from django.db import models

# Create your models here.
class Qianyi(models.Model):
	sid = models.IntegerField(verbose_name='历史记录')
	before_bin = models.CharField(max_length=20,verbose_name='迁移前bin_ip')
	before_db = models.CharField(max_length=20,verbose_name='迁移前db_ip')
	after_bin = models.CharField(max_length=20,verbose_name='迁移后bin_ip')
	after_db = models.CharField(max_length=20,verbose_name='迁移后db_ip')
	qianyi_date = models.DateField(auto_now=True,verbose_name='迁移时间')
	
	class Meta:
		verbose_name = '迁移记录'
		verbose_name_plural = verbose_name	
	
	
